import tushare as ts

# print(ts.__version__)
ts.set_token('ec43a592efa510af6cf672ad17b7447c03b97396f88ab009a279c6bc')

pro = ts.pro_api()

df = pro.daily(ts_code='000001.SZ',
                   start_date='20210101', end_date='20211231')

print(df)

# df = pro.trade_cal(exchange='', start_date='20180901', end_date='20181001', fields='exchange,cal_date,is_open,pretrade_date', is_open='0')
